package pandora.apps.d3mob.view;

import javax.microedition.khronos.opengles.GL10;

import com.e3roid.drawable.Shape;
import com.e3roid.drawable.modifier.ProgressAware;
import com.e3roid.drawable.modifier.ProgressModifier;
import com.e3roid.drawable.modifier.function.Progressive;

public class KingMoveProgressModifier extends ProgressModifier {

	private int dir;
	private King king;

	public KingMoveProgressModifier(King king, ProgressAware modifier, long duration, Progressive instance, int dir) {
		super(modifier, duration, instance);
		this.dir = dir;
		this.king = king;
	}
	
	/**
	@Override
	public void onLoad(Shape shape, GL10 gl10) {
		((King)king).animate(dir);
		super.onLoad(shape,gl10);
	}
	
	@Override
	public void onUnload(Shape shape, GL10 gl10) {
		((King)king).stop();
		super.onUnload(shape,gl10);
	}
	*/
}
